package com.bm.api.service;

import com.bm.common.dto.LotDto;
import com.bm.common.vo.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Description:
 * @Author: 赵金帅
 * @Date: 2022/07/19/0:40
 */
@FeignClient(value="bm-Server")
public interface LotService {
    @GetMapping("/server/lot/select.do")
    R select(@RequestParam long uid);
    @PostMapping("/server/lot/save.do")
    R save(@RequestBody LotDto dto);
}
